import HttpException from './http.exception';

class OssException extends HttpException {
  constructor(error: Error) {
    console.log(error);
    super(500, 'Oss 发生错误');
  }
}

export default OssException;
